Courcelle's theorem
#graph_theory #logic
Theorem (Courcelle's theorem)
Let and let be an mso formula over the vocabulary of graphs, i.e. using a binary relation . There is a cubic algorithm which inputs a undirected graphs and fails or answers if the graph satisfies . The algorithm succeeeds if the graph has treewidth